CacheStats

data class CacheStats(val capacity: Int, val populated: Int, val fillRatio: Float, val hits: Long = 0, val misses: Long = 0, val evictions: Long = 0, val hitRate: Float = 0.0f)

EN Cache usage statistics snapshot. The hits, misses, evictions, and hitRate fields are only meaningful when diagnosticsEnabled is true.

PT Snapshot de métricas de uso do cache. hits, misses, evictions e hitRate só são significativos quando diagnosticsEnabled está true.

Constructors

Link copied to clipboard
constructor(capacity: Int, populated: Int, fillRatio: Float, hits: Long = 0, misses: Long = 0, evictions: Long = 0, hitRate: Float = 0.0f)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val hits: Long
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open override fun toString(): String